/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.DataTransferObject;

/**
 *
 * @author MARS_NHO
 */
public class ServerInfo {
    private String DataBase = ""; // Ten DataBase muon ket noi toi.
    private String Host = ""; // Thong tin Host cua Database Server.
    private String Password = ""; // Thong tin mat khau cua Database Server.
    private String UserName = ""; // Thong tin ten dang nhap cua DataBase Server.
    private int Port = 0; //Thong tin port dang nhap

    /**
     * @return the DataBase
     */
    public String getDataBase() {
        return DataBase;
    }

    /**
     * @param DataBase the DataBase to set
     */
    public void setDataBase(String DataBase) {
        this.DataBase = DataBase;
    }

    /**
     * @return the Host
     */
    public String getHost() {
        return Host;
    }

    /**
     * @param Host the Host to set
     */
    public void setHost(String Host) {
        this.Host = Host;
    }

    /**
     * @return the Password
     */
    public String getPassword() {
        return Password;
    }

    /**
     * @param Password the Password to set
     */
    public void setPassword(String Password) {
        this.Password = Password;
    }

    /**
     * @return the UserName
     */
    public String getUserName() {
        return UserName;
    }

    /**
     * @param UserName the UserName to set
     */
    public void setUserName(String UserName) {
        this.UserName = UserName;
    }

    /**
     * @return the Port
     */
    public int getPort() {
        return Port;
    }

    /**
     * @param Port the Port to set
     */
    public void setPort(int Port) {
        this.Port = Port;
    }
    
    public ServerInfo(){
        DataBase = "";
        Host = "";
        Port = 0;
        UserName = "";
        Password = "";
    }
}
